package com.guogee.pdb.bean;


public class AlarmRecord extends DBBean {
	private String id;
	private String deviceAddr;
	private byte alarmType; //报警类型
	private String data; //其它数据内容，比如用户id 胁迫报警有用
	private long alarmTime; //报警时间，绝对秒数
	private byte resolved; //报警是否已解除 0:未解除 1：已解除 
	private long resolvedTime; //解除时间，resolved为0才有
	private String troubleId; //故障单id，推送到保安才有该值，该值用于去查询处理进度
	private String alarmAddr; //报警地址
	private String communityId; //小区id
	private int deviceType; //设备类型
	private String ownerphone; //业主手机号码
	private byte hadNotifySecurity; //0:已通知 1：未通知
	private byte invisible; //是否可见 0：可见 1:不可见
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDeviceAddr() {
		return deviceAddr;
	}
	public void setDeviceAddr(String deviceAddr) {
		this.deviceAddr = deviceAddr;
	}


	public byte getAlarmType() {
		return alarmType;
	}
	public void setAlarmType(byte alarmType) {
		this.alarmType = alarmType;
	}
	
	public long getAlarmTime() {
		return alarmTime;
	}
	public void setAlarmTime(long alarmTime) {
		this.alarmTime = alarmTime;
	}
	public byte getResolved() {
		return resolved;
	}
	public void setResolved(byte resolved) {
		this.resolved = resolved;
	}
	public long getResolvedTime() {
		return resolvedTime;
	}
	public void setResolvedTime(long resolvedTime) {
		this.resolvedTime = resolvedTime;
	}
	public String getTroubleId() {
		return troubleId;
	}
	public void setTroubleId(String troubleId) {
		this.troubleId = troubleId;
	}
	public String getAlarmAddr() {
		return alarmAddr;
	}
	public void setAlarmAddr(String alarmAddr) {
		this.alarmAddr = alarmAddr;
	}

	public String getCommunityId() {
		return communityId;
	}
	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}
	public int getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(int deviceType) {
		this.deviceType = deviceType;
	}
	public String getOwnerphone() {
		return ownerphone;
	}
	public void setOwnerphone(String ownerphone) {
		this.ownerphone = ownerphone;
	}
	public byte getHadNotifySecurity() {
		return hadNotifySecurity;
	}
	public void setHadNotifySecurity(byte hadNotifySecurity) {
		this.hadNotifySecurity = hadNotifySecurity;
	}

	public byte getInvisible() {
		return invisible;
	}
	public void setInvisible(byte invisible) {
		this.invisible = invisible;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
}
